ru.tcl.dxf.tables
Class LineType

java.lang.Object
  |
  +--ru.tcl.dxf.DXFObject
        |
        +--ru.tcl.dxf.tables.Entry
              |
              +--ru.tcl.dxf.tables.LineType

public class LineType
extends Entry

Класс LineType представляет элемент таблицы типов линий.

Since:
TCL DXF 1.0
See Also:
Serialized Form

Field Summary
static LineType BYLAYER
           
 
Constructor Summary
LineType()
           
LineType(DXFDocument doc)
           
 
Method Summary
 int getAlignment()
           
 java.lang.String getASCIIType()
          Возвращает строковое представление линии.
 double getPatternLength()
          Возвращает длину образца линии.
 java.util.Enumeration items()
          Возвращает вектор штрихов линии.
 void readDXF(DXFTokenizer tokenizer)
          Считывание объекта из DXF файла.
 
Methods inherited from class ru.tcl.dxf.tables.Entry
getFlags, getName, readCommonPropertiesDXF
 
Methods inherited from class ru.tcl.dxf.DXFObject
getDocument, setDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BYLAYER

public static final LineType BYLAYER
Constructor Detail

LineType

public LineType()

LineType

public LineType(DXFDocument doc)
Method Detail

getAlignment

public final int getAlignment()

getASCIIType

public final java.lang.String getASCIIType()
Возвращает строковое представление линии.
Returns:
строковое представление линии.
Since:
TCL DXF 1.0

getPatternLength

public final double getPatternLength()
Возвращает длину образца линии.
Returns:
длина образца линии.
Since:
TCL DXF 1.0

items

public final java.util.Enumeration items()
Возвращает вектор штрихов линии. Значения штрихов интерпритируются следующим образом: отрицательное значение = пропуск, 0 = точка, положительное значение = штрих.
Returns:
вектор штрихов линии.
Since:
TCL DXF 1.0

readDXF

public void readDXF(DXFTokenizer tokenizer)
             throws java.io.IOException
Считывание объекта из DXF файла. Вы не должны явно использовать данный метод.
Parameters:
tokenizer - разборщик DXF файлов
Overrides:
readDXF in class DXFObject
Since:
TCL DXF 1.0